<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">名称:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="text" name="row[name]" class="form-control" data-rule="required"/>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">联系人:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="text" name="row[username]" class="form-control"/>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">联系电话:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="text" name="row[phone]" class="form-control"/>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">联系地址:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="text" name="row[address]" class="form-control"/>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">权重:</label>
		<div class="col-xs-12 col-sm-8">
			<input type="number" name="row[sort]" class="form-control"/>
		</div>
	</div>
	<div class="form-group">
		<label class="control-label col-xs-12 col-sm-2">状态:</label>
		<div class="col-xs-12 col-sm-8">
			{:build_radios('row[status]', ['1'=>__('显示'), '0'=>__('隐藏')])}
		</div>
	</div>
	<div class="form-group" id="contents">
		<label class="control-label col-xs-12 col-sm-2">备注:</label>
		<div class="col-xs-12 col-sm-8">
			<textarea  name="row[remark]"  cols="3" class="form-control editor"></textarea>
		</div>
	</div>


	<div class="form-group hidden layer-footer">
		<div class="col-xs-2"></div>
		<div class="col-xs-12 col-sm-8">
			<button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
			<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
		</div>
	</div>
</form>
